<?php

use Illuminate\Database\Seeder;
use App\User;
class UserSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        factory(User::class,30)->create ();
        $user=User::first();
        $user->name='ljc20090913';
        $user->email='770166067@qq.com';
        $user->password=bcrypt('ljc6618567');
        $user->is_admin=1;
        $user->status=1;
        $user->save();
    }
}
